package org.minproject.my_library_back.service;

import org.minproject.my_library_back.common.CommonResponse;
import org.minproject.my_library_back.domain.Library;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【library】的数据库操作Service
* @createDate 2024-11-21 09:11:46
*/
public interface LibraryService extends IService<Library> {
    CommonResponse<List<Library>> getLibraryByUserid(int userid) throws Exception;
    CommonResponse<Library> addLibrary(Library library) throws Exception;
    CommonResponse<Library> deleteLibrary(String libraryName) throws Exception;
}
